﻿using System;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Collections.Generic;
using System.Reflection;

namespace Data
{	
	public class TInsert_Max
	{       
        private string crOrderid(string user_id)
        {
            long maxid = DataAccess.GetMaxId(DateTime.Now.ToString("yyMMdd") + user_id);
            return user_id + maxid.ToString("0000");
        }
        public string CreateOrderid(string user_id)
        {
            if (user_id != null && user_id.Length > 0)
            {
                return crOrderid(user_id);
            }
            return "";
        }
	}
}